doc: add test reporter event lifecycle diagram - #63780
Conversation
|
Review requested:
|
|
Ping @MoLow |
This comment was marked as spam.
This comment was marked as spam.
|
This needs a rebase to resolve conflicts in |
Document the lifecycle of node:test reporter events under Class: TestsStream, with an ASCII diagram that distinguishes declaration-order events from their execution-order twins (test:dequeue/test:complete), the leaf vs suite flow, and the run-level finale. Fixes: nodejs#51908 Signed-off-by: sangwook <rewq5991@gmail.com>
bddf765 to
6763fea
Compare
|
I pushed to resolve the issue, so please approve it again. |
There was a problem hiding this comment.
@Han5991 this mostly LGTM. Should this also mention test:interrupted?
@atlowChemi |
Commit Queue failedThe pull request was removed from the Commit Queue and labeled
commit-queue-failed
Full Commit Queue output |
The diagram only covered the normal path, ending at test:summary. Add an INTERRUPTION branch: on SIGINT the run exits before the buffered declaration-ordered events are flushed, so neither the run-level finale nor the interrupted tests' own results are emitted. Signed-off-by: sangwook <rewq5991@gmail.com>
8577f35 to
d460d29
Compare
|
A "commit-queue-failed" error occurred, so I have updated the commit message. Please approve and merge. |
Adds an "Event lifecycle" section under
Class: TestsStreamwith an ASCII diagram showing how reporter events relate: declaration-order events vs their execution-order twins (test:dequeue/test:complete), the leaf vs suite flow, and the run-level finale.Fixes: #51908